package com.miyake.dsp;

import com.miyake.rest.LicenseType;
import com.miyake.rest.ServiceType;
import com.miyake.rest.WebServiceProperty;

public class WebServicePropertyBuilder {

	private static WebServicePropertyBuilder instance;

	private WebServicePropertyBuilder() {
		
	}
	
	public static WebServicePropertyBuilder getInstance() {
		if (instance == null) {
			instance = new WebServicePropertyBuilder();
		}
		return instance;
	}

	public WebServiceProperty get() {
		WebServiceProperty prop = new WebServiceProperty();
		prop.setCategory("Analyzer");
		prop.setDescription("Scilab Service");
		prop.setLicenseType(LicenseType.Free);
		prop.setProvider("MIYAKE.COM");
		prop.setServiceName("Scilab Service");
		prop.setServiceType(ServiceType.Analyzer);
		prop.setServiceUrl("http://210.229.206.207:8080/ScilabService/ScilabServlet");
		prop.setVersion("0.01");
		
		return prop;
	}

}
